/**
 * 
 */

define(['jquery', 'lib/snap.svg'], function($,Snap){
	
	function ControlPoint() {
		this.controlBox = null;
		this.position = null;	//어디 위치의 포인터인지에 대한 정보
		this.x = 0;
		this.y = 0;
		this.width = 10;
		this.height = 10;
		
	};

	ControlPoint.prototype = {
			
			setControlBox : function(controlBox) {
				this.controlBox = controlBox;
			},
						
			setCoordinate : function(x, y) {
				this.x = x;
				this.y = y;
			},
			
			setPosition : function(position) {
				this.position = position;
			},
			
			getPosition : function() {
				return this.position;
			}
	};

	return ControlPoint;
	
});